package com.hotel.project.demo.service.base;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.hotel.project.demo.domain.BaseEntity;

import java.util.List;

public interface ICurdService <T extends BaseEntity> extends IService<T> {
    public PageInfo<T> listPage(T entity, int pageNum, int pageSize);
    public List<T> list(T entity);
}
